package cn.wolfcode.trip.app.controller;

import cn.wolfcode.trip.base.service.IStrategyCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("strategyComment")
public class StrategyCommentController {

    @Autowired
    private IStrategyCommentService strategyCommentService;

    @GetMapping("{strategyId}")
    public Object selectByStrategyId(@PathVariable Long strategyId) {
        return strategyCommentService.selectByStrategyId(strategyId);
    }
}
